<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="fragments/layout(title='结算-列表',jsPaths='/static/js/financial/settlement/list.js')">
    <div class="right" th:fragment="right">
                <!--面包屑-->
                <div class="breadcrumb layui-bg-gray">
                    <span class="layui-breadcrumb" lay-separator=">">
                        <a th:href="@{/}">首页</a>
                       <a href="/receipt">收费管理</a>
                        <a href="/settlement">结算</a>
                        <a><cite>列表</cite></a>
                    </span>
                </div>

                <!--主体内容区-->
                <div class="page-content">
                    <div class="search-box">
                        <form id="search-form" class="layui-form">
                            <div class="layui-input-inline">
                                <select name="status" >
                                    <option value="">状态(全部)</option>
                                    <option value="1" >已付清</option>
                                    <option value="2" >未付清</option>
                                </select>
                            </div>
                            <div class="layui-input-inline">
                                <input type="text" name="elderlyName" required   placeholder="老人姓名" autocomplete="off" class="layui-input">
                            </div>
                            <div class="layui-input-inline">
                                <button class="layui-btn layui-btn-normal" type="button" id="search">查询</button>
                                <button class="layui-btn layui-btn-primary" type="reset" id="reset">重置</button>
                            </div>

                        </form>
                    </div>
                    <div class="layui-btn-group">
                        <a href="/receipt/add"  class="layui-btn layui-btn-normal" auth="cwgl-sfgl-add">创建其它收费单</a>
                    </div>
                    <table id="demo" lay-filter="test"></table>
                </div>
                <script type="text/html" id="toolbar">
                    {{#  if(d.yiShou == null || d.yingShou - d.yiShou > 0){ }}
                    <a href="javascript:void(0)" class="layui-btn layui-btn-xs" lay-event="detail" auth="cwgl-js-detail">结算</a>
                    {{# }}}
                </script>
            </div>
</html>